Amend to fontify /regexp/s in actions correctly.
authorAlan Mackenzie <acm@muc.de>
Tue, 29 Jan 2013 20:51:07 +0000 (20:51 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 29 Jan 2013 20:51:07 +0000 (20:51 +0000)
commita017119f87163b60019b4eb599419d389fc4eda8
tree2209856064f135cbd4aa952d3db95971bddce447
parentbc432b97d845c9e4f002696b3d5ae0e453d3c396
Amend to fontify /regexp/s in actions correctly.
cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
(c-awk-harmless-string*-here-re): braces, parens and semicolons are no
longer included.
(c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re): What used
to be these variables without "-line" in the name.
(c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
(c-awk-non-arith-op-bra-re): Now also matches {.
(c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print", "return",
and "case".
(c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed by /.
(c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
(c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
lisp/ChangeLog
lisp/progmodes/cc-awk.el